package org.gui.knnParamSelection;

import java.awt.Font;
import java.awt.GridLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;

public class KSelection extends JPanel{

	private static final long serialVersionUID = 1L;
	
	JLabel kSelectionLabel;	
	JTextField kSelectionInput;
	
public KSelection(){

//	setPreferredSize(new Dimension());
	setLayout(new GridLayout(1,2,0,10));
	kSelectionLabel = new JLabel("Select k for kNN = ");	
	kSelectionLabel.setHorizontalAlignment(SwingConstants.RIGHT);
	kSelectionInput = new JTextField();
    Font font1 = new Font("SansSerif", Font.BOLD, 20);
    kSelectionInput.setFont(font1);
	add(kSelectionLabel);
	add(kSelectionInput);
	
}

public String getkSelectionInput() {
	return kSelectionInput.getText();
}



}
